$wid: 200px;
$url: "";
$font: 20;
// 混入 （把重复使用的部分封装起来）
/* @mixin wid {
  width: 100px;
  margin: auto;
} 
  div {
    @include wid;
  }
*/
@mixin boxShadow {
  -webkit-box-shadow: -15px 12px 27px 1px #f9f2ff;
  -moz-box-shadow: -15px 12px 27px 1px #f9f2ff;
  box-shadow: -15px 12px 27px 1px #f9f2ff;
  border-radius: px2rem(8);
}
@mixin disJZ {
  display: flex;
  justify-content: center;
  align-items: center;
}
@mixin wid {
  width: 100%;
  height: px2rem(200);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
@function px2rem($px) {
  @return $px / 20 * 1rem;
}
#pad {
  padding-top: 25px;
}
.home {
  display: flex;
  flex-direction: column;
  height: 100%;
  .top {
    @include wid;
    font-size: px2rem(30);
    .top-item {
      border: 1px solid #eee;
      width: 30%;
      height: 100%;
      background-color: rgb(255, 255, 255);
      @include boxShadow;
      @include disJZ;
      justify-content: space-evenly;
      .top-item-left {
        @include disJZ;
        width: px2rem(100);
        height: px2rem(100);
        border-radius: 50%;
        background-color: #fba629;
      }
      .top-item-right {
        font-size: px2rem(25);
        font-weight: 250;
        @include disJZ;
        flex-direction: column;
        .top-item-right-2 {
          color: #fba629;
          h3 {
            display: inline; //行级转块级
            font-size: px2rem(60);
            font-weight: 400;
          }
        }
      }
    }
  }
  .bottom {
    flex: 1;
    @include disJZ;
    justify-content: space-evenly;
    .bottom-left {
      height: 90%;
      width: 46%;
      border: 1px solid #eee;
      @include boxShadow;
      .echart {
        width: 100%;
        height: 100%;
      }
    }
    .bottom-right {
      height: 90%;
      width: 46%;
      border: 1px solid #eee;
      @include boxShadow;
      .echart2 {
        width: 100%;
        height: 100%;
      }
    }
  }
}
